<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<section id="listRandom" class="boxSubjectRight rightShadow corner3">
	<div class="boxTitleBlack topCorner3">
		<h3>Truyện tranh ngẫu nhiên</h3>
	</div>
	<ul>
		<c:choose>
			<c:when test="${lstTruyenTranhRandomSidebar.size() > 0}">
				<c:forEach begin="0" end="9" step="1" var="i">
					<li>
						<a href='<spring:url value="/truyen-tranh/T${lstTruyenTranhRandomSidebar[i].id}/${fn:replace(lstTruyenTranhRandomSidebar[i].alias,' ','-')}.htm" />' title="<h2>Tóm tắt truyện : ${lstTruyenTranhRandomSidebar[i].name}</h2><img class='corner' src='${lstTruyenTranhRandomSidebar[i].linkImage}/s152/${lstTruyenTranhRandomSidebar[i].nameImage}' alt='Truyện tranh ${lstTruyenTranhRandomSidebar[i].name}' />${lstTruyenTranhRandomSidebar[i].info}" class='textOverflow tooltip'>${lstTruyenTranhRandomSidebar[i].name}</a>
					</li>
				</c:forEach>
			</c:when>
			<c:otherwise><li>Đang cập nhật...</li></c:otherwise>
		</c:choose>
	</ul>
</section>